﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Veracruz
{
  /// <summary>
  /// Describes the association between an ActivityInfo and a DomainInfo 
  /// </summary>
  interface IDomainAffectation
  {
    //TODO: Thor seems to be a bad design buddy...
    /// <summary>
    /// The Domain info to which belong the ActivityInfo
    /// </summary>
    IDomainInfo Domain { get; set; }
    /// <summary>
    /// True if the domain above is the main domain of the activity
    /// </summary>
    bool IsPrincipal { get; set; }
    /// <summary>
    /// The rank mesures the importance of of an activty within a particular domain
    /// </summary>
    /// <remarks>
    /// 1-5 local
    /// 6-10 regional
    /// 11-15 national
    /// 16-20 world
    /// </remarks>
    int Rank { get; set; }
    /// <summary>
    /// The activity affected the to domain with this rank
    /// </summary>
    IActivityInfo Activity { get; set; }
  }
}
